// 导航
.park-detail-navs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3.90rem;
  height: 100%;
  ul {
    display: flex;
    height: 100%;
  }
  li {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: @font-size-large;
    &.active {
      color: @park-color-green;
      &:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0.74rem;
        border-top: 2px solid @park-color-green;
      }
    }
  }
}
// 商品信息
.park-goods-info {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  min-height: 2.44rem;
  overflow: hidden;
  &__name {
    font-size: @font-size-large;
    text-align: center;
    margin-top: 0.4rem;
  }
  &__desc {
    margin-top: 0.3rem;
    text-align: center;
    color: #999;
  }
  &__price {
    margin-top: 0.24rem;
    text-align: center;
    color: @park-color-orange;
    span {
      font-size: @fs-price;
    }
    em {
      color: #ccc;
      text-decoration: line-through;
    }
  }
}
// 抢购
.park-goods-buying {
  display: flex;
  height: 0.9rem;
  align-items: center;
  background-color: #fff;
  justify-content: space-between;
  font-size: @font-size-small;
  &__time {
    color: #666;
    margin-left: 0.7rem;
  }
  &__count {
    margin-right: 0.7rem;
    span {
      color: @park-color-red;
    }
  }
}

// 查看全部评论
.park-goods-comment-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.0rem;
  background-color: #fff;
  .btn {
    color: #666;
    width: 2.10rem;
    height: 0.52rem;
    text-align: center;
    line-height: 0.52rem;
    border-radius: 0.26rem;
    border: 1px solid #eee;
  }
}
// 商品介绍
.park-goods-detail__table {
  margin-top: 0.2rem;
  border: 1px solid #999;
  tr {
    background-color: #f7f7f7;
    &:nth-child(2n) {
      background-color: #fff;
    }
  }
  tr, td {
    border: 1px solid #999;
    line-height: 0.7rem;
    text-indent: 0.2rem;
  }
}
// 轮播图
.park-detail-swiper-pic {
  height: 6.6rem;
  .bg-cover();
}
// 商品图片描述
.park-goods-detail-image {
  ul {
    li {
      img {
        display: block;
      }
    }
  }
}
// 商品文字描述
.park-goods-detail-text {
  background-color: #fff;
  padding-top: 0.2rem;
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  padding-bottom: 0.2rem;
  p {
    line-height: 1.6;
    letter-spacing: 1px;
  }
}

// 商品评分
.park-goods-comment {
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  height: 1.70rem;
  overflow: hidden;
  &__star {
    margin-top: 0.4rem;
    text-align: center;
    .iconfont {
      color: #999;
      &.active {
        color: @park-color-orange;
      }
    }
  }
  &__title {
    text-align: center;
    margin-top: 0.2rem;
  }
  &__rate {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    width: 1.10rem;
    height: 1.10rem;
    border-radius: 50%;
    background-color: @park-color-orange;
    p {
      margin: 0.02rem;
    }
  }
}
// 底部
.park-goods-footer {
  position: fixed;
  z-index: 102;
  background-color: #fff;
  height: 1.0rem;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid #eee;
  &__collect, &__cart {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 2.0rem;
    color: #999;
    span {
      margin-top: 0.04rem;
      font-size: @font-size-small;
    }
    .iconfont {
      font-size: 0.44rem;
    }
  }
  &__collect {
    position: relative;
    &.active {
      color: @park-color-orange;
    }
    &:after {
      content: '';
      position: absolute;
      height: 0.6rem;
      right: 0;
      top: 50%;
      border-left: 1px solid #eee;
      transform: translateY(-50%);
    }
  }
  &__cart {
    &.active {
      color: @park-color-green;
    }
  }
  &__add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.52rem;
    background-color: @park-color-green;
    color: #fff;
    font-size: @font-size-large;
  }
}
// 商品规格数量选择
.park-goods-choose {
  position: fixed;
  bottom: 1.0rem;
  left: 0;
  right: 0;
  z-index: 101;
  background-color: #fff;
  padding-left: 0.25rem;
}
// info
.park-goods-choose-info {
  box-sizing: border-box;
  position: relative;
  border: 1px solid transparent;
  height: 2.34rem;
  &__price {
    margin-left: 2.8rem;
    margin-top: 0.5rem;
    .price1 {
      color: @park-color-orange;
      font-size: @font-size-large;
      span {
        font-size: 0.50rem;
      }
    }
    .price2 {
      color: #999;
    }
  }
  &__spec {
    margin-top: 0.25rem;
    margin-left: 2.8rem;
  }
  &__pic {
    position: absolute;
    left: 0;
    top: -0.4rem;
    width: 2.30rem;
    height: 2.30rem;
    border: 1px solid #ccc;
    .bg-cover();
  }
}
// spec
.park-goods-choose-spec {
  border-top: 1px solid #eee;
  &__title {
    line-height: 0.8rem;
    font-size: @font-size-large;
  }
  &__list {
    ul {
      display: flex;
      flex-wrap: wrap;
      li {
        height: 0.48rem;
        line-height: 0.48rem;
        padding: 0 0.12rem;
        background-color: #e8e8e8;
        border-radius: 4px;
        margin-bottom: 0.2rem;
        margin-right: 0.2rem;
        color: #666;
        &.active {
          background-color: @park-color-green;
          color: #fff;
        }
      }
    }
  }
}
// num
.park-goods-choose-num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.06rem;
  border-top: 1px solid #eee;
  &__title {
    font-size: @font-size-large;
  }
  &__total {
    margin-right: 0.2rem;
  }
}
